package com.pactera.miyuangroup.db.entity;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 售货机
 * </p>
 *
 * @author WangWu
 * @since 2018-04-13
 */
@TableName("t_vendor_info")
public class VendorInfo extends Model<VendorInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
	private String id;
    /**
     * 车辆信息ID
     */
	private String vehicleId;
    /**
     * 售货机编号
     */
	private String number;
    /**
     * 工控号
     */
	private String controlNumber;
    /**
     * 型号
     */
	private String modelNumber;
    /**
     * 货道规格
     */
	private String specifications;
    /**
     * 投放日期
     */
	private Date launchDate;
    /**
     * 点位名称
     */
	private String pointName;
    /**
     * 机器点位
     */
	private String pointNumber;
    /**
     * 备注
     */
	private String remarks;
    /**
     * 组织结构表主键ID
     */
	private String organizationId;
    /**
     * 最后一次补货时间
     */
	private Date lastReplenishmentTime;
    /**
     * 售货机原始ID
     */
	private String originalId;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getVehicleId() {
		return vehicleId;
	}

	public void setVehicleId(String vehicleId) {
		this.vehicleId = vehicleId;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getControlNumber() {
		return controlNumber;
	}

	public void setControlNumber(String controlNumber) {
		this.controlNumber = controlNumber;
	}

	public String getModelNumber() {
		return modelNumber;
	}

	public void setModelNumber(String modelNumber) {
		this.modelNumber = modelNumber;
	}

	public String getSpecifications() {
		return specifications;
	}

	public void setSpecifications(String specifications) {
		this.specifications = specifications;
	}

	public Date getLaunchDate() {
		return launchDate;
	}

	public void setLaunchDate(Date launchDate) {
		this.launchDate = launchDate;
	}

	public String getPointName() {
		return pointName;
	}

	public void setPointName(String pointName) {
		this.pointName = pointName;
	}

	public String getPointNumber() {
		return pointNumber;
	}

	public void setPointNumber(String pointNumber) {
		this.pointNumber = pointNumber;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getOrganizationId() {
		return organizationId;
	}

	public void setOrganizationId(String organizationId) {
		this.organizationId = organizationId;
	}

	public Date getLastReplenishmentTime() {
		return lastReplenishmentTime;
	}

	public void setLastReplenishmentTime(Date lastReplenishmentTime) {
		this.lastReplenishmentTime = lastReplenishmentTime;
	}

	public String getOriginalId() {
		return originalId;
	}

	public void setOriginalId(String originalId) {
		this.originalId = originalId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "VendorInfo{" +
			"id=" + id +
			", vehicleId=" + vehicleId +
			", number=" + number +
			", controlNumber=" + controlNumber +
			", modelNumber=" + modelNumber +
			", specifications=" + specifications +
			", launchDate=" + launchDate +
			", pointName=" + pointName +
			", pointNumber=" + pointNumber +
			", remarks=" + remarks +
			", organizationId=" + organizationId +
			", lastReplenishmentTime=" + lastReplenishmentTime +
			", originalId=" + originalId +
			"}";
	}
}
